/**
 * 招采管理模块 http 请求
 */
import http from '@/utils/request'

export const startProcess = (data) => {
  return http.get('queryPostRecordByInfo', data)
}

export const add = (data) => {
  return http.post('/api/erp/hr/regular/erpHrEmployeeRegularBill/add', data)
}
export const edit = (data) => {
  return http.put('/api/erp/hr/regular/erpHrEmployeeRegularBill/edit', data)
}

export const info = (data) => {
  return http.get('/api/erp/hr/regular/erpHrEmployeeRegularBill/queryById', data)
}

export const queryEmployeeById = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeeFile/queryPageById', data)
}

export const queryPostRecordByInfo = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeePostChangeRecord/queryPostRecordByInfo', data)
}

export const queryInductionByEmployeeId = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeeFile/queryPageById', data)
}
